﻿

CREATE PROCEDURE [dbo].[usuario_Update]
	@nome nvarchar(100),
	@email nvarchar(100),
	@senha nvarchar(100),
	@ativo bit,
	@permissaoID int,
	@usuarioID int 
AS
	UPDATE TBUsuario SET 	nome= @nome,
							senha = @senha,
							ativo = @ativo,
							email = @email,
							[permissaoID] = @permissaoID
						WHERE usuarioID = @usuarioID

